def list_perms ( liwe, dct = None ):
	return [
			{ "value" : "upload", "label" : "Inserimento nuovi file" },
			{ "value" : "remove", "label" : "Cancellazione file" },
			{ "value" : "admin", "label" : "Inserimento/cancellazione files" }
		]

def get_cfg_data ( liwe ):
	return {
		"files" : [
			{ "name" : "site/modules/dl_mananger/templates/dl_mananger.txt", "mandatory" : False },
			{ "name" : "site/modules/dl_manager/cback/dl_manager.py", "mandatory" : False },
		],

		"dirs" : [
			{ "name" : "site/dl_manager", "mandatory" : True, "perms" : 777 },
		]
	}

def get_module_info ( liwe, ** kwargs ):
	return {
		"dir_name" : "dl_manager",
		"file_name" : "dl_manager_class",
		"class_name" : "DLManager"
	}
